﻿/**
 * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or http://ckeditor.com/license
 ## config.disallowedContent = 'img{width,height};img[width,height]'; // 加上之后, 上传成功不能预览图片
 */

CKEDITOR.editorConfig = function( config ) {
	// Define changes to default configuration here. For example:
	// config.language = 'fr';
	// config.uiColor = '#AADC6E';
    config.baseHref = "http://" + window.location.host;
    config.filebrowserImageUploadUrl = '/Upload/UploadImage/';  // 图片上传控制器的路径

    config.font_names = '宋体/宋体;黑体/黑体;楷体/楷体;幼圆/幼圆;微软雅黑/微软雅黑;' + config.font_names;
    config.allowedContent = true;
    //改变大小的最小高度
    config.resize_minHeight = 800;

};
